/*
 * www.wuercj.pub Inc.
 * Copyright (c) 2017 All Rights Reserved
 */

/*
 * 修订记录:
 * Yong.L 2017/7/31 下午11:53 创建
 *
 */
package com.flka.demo.test.message;

/**
 * 在线支付订单
 * 扫码、网银,其他交易类型的订单可以仿照此订单写
 */
public class OnlinePayRequest extends ApiMessage{


    /**交易金额amount不能为空*/
    private double amount;

    /**币种 */
    private String currency = "CNY";

    /**支付方式:SCAN_QR扫码、*/
    private String payType;

    /**商品名*/
    private String goodsName;

    /**商品描述*/
    private String goodsDesc;

    /**支付机构编码:ALIPAY支付宝、WEIXIN:微信*/
    private String payChannel;

    /**交易备注*/
    private String remark;

    /** "银行编码。\n网银支付的时候，跳转到指定银行；\n银行简码，比如：BOC:中国银行；ICBC:工商银行；CCB:建设银行；ABC:农业银行..."*/
    private String bankCode;

    public Double getAmount() {
        return amount;
    }

    public void setAmount(Double amount) {
        this.amount = amount;
    }

    public String getCurrency() {
        return currency;
    }

    public void setCurrency(String currency) {
        this.currency = currency;
    }

    public String getPayType() {
        return payType;
    }

    public void setPayType(String payType) {
        this.payType = payType;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getGoodsDesc() {
        return goodsDesc;
    }

    public void setGoodsDesc(String goodsDesc) {
        this.goodsDesc = goodsDesc;
    }

    public String getPayChannel() {
        return payChannel;
    }

    public void setPayChannel(String payChannel) {
        this.payChannel = payChannel;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public void setAmount(double amount) {
        this.amount = amount;
    }

    public String getBankCode() {
        return bankCode;
    }

    public void setBankCode(String bankCode) {
        this.bankCode = bankCode;
    }

    @Override
    public String toString() {
        return "OnlinePayRequest{" +
                "amount=" + amount +
                ", currency='" + currency + '\'' +
                ", payType='" + payType + '\'' +
                ", goodsName='" + goodsName + '\'' +
                ", goodsDesc='" + goodsDesc + '\'' +
                ", payChannel='" + payChannel + '\'' +
                ", remark='" + remark + '\'' +
                ", bankCode='" + bankCode + '\'' +
                '}';
    }
}
